package com.famid.flashcards.data;

import java.util.List;

public interface CardsDAO {

	public void open();
	
	public void close();
	
	public Card createCard(Card card);
	
	public void deleteCard(Card card);
	
	public List<Card> getAllCards();
	
	public List<Card> getAllCardsForStack(long id);
	
	public Card get(long id);
	
	public Card update(Card card);
	
	public int countByStack(long stackId);
	
	public void deleteForStack(long stackId);
}
